package nc.impl.hdysc.wbs;

import nc.itf.hdysc.wbs.IWebAction;
import nc.itf.hdysc.wbs.IWebWbs;
import nc.itf.hdysc.wbs.WebExceptionHandel;

public class WebWbsImpl implements IWebWbs{

	public void doAction(String actionName, String[] params) {
		try{
			IWebAction ic = (IWebAction)Class.forName(actionName).newInstance() ;
			
			ic.doAction(params) ;
		}catch (Exception e) {
			WebExceptionHandel.handelWebAction(e) ;
		}
	}

}
